<?php
/* $mysqli = new mysqli("127.0.0.1", "root", "", "testpresentation");
if ($mysqli->connect_errno) {
	echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error;
}
echo $mysqli->host_info . "\n";


foreach ($_POST as $key=>$val){$presentation = $key.'=>'.$val;}
if ($result = $mysqli->query("INSERT INTO presentation (data) VALUES ('".$presentation."')")){
	echo "success";
	$result->close();
}
else {
	echo "error";
}
$mysqli->close(); */